﻿namespace IDal.Guest
{
    using Model.Guest;
    using System;
    using System.Data;

    public interface IGuest
    {
        void Add(GuestEnt model);
        void Delete(int ID);
        DataTable GetList(string strWhere);
        int GetMaxId(string swhere);
        GuestEnt GetModel(int ID);
        DataTable GetPageList(int PageSize, int PageIndex, string strWhere);
        DataTable SearchData(string strWhere);
        DataTable SearchData(int PageSize, int PageIndex, string strWhere);
        void Update(GuestEnt model);
    }
}

